commit a752b712284ff1246ce45b770f91ae8962a89de2
Author: Daniel Kolesa <daniel@octaforge.org>
Date:   Sun Apr 3 03:23:11 2022 +0200

    fix up altivec

diff --git a/webrtc/third_party/pffft/src/pffft.c b/webrtc/third_party/pffft/src/pffft.c
index bdac4d7..4862d09 100644
--- a/webrtc/third_party/pffft/src/pffft.c
+++ b/webrtc/third_party/pffft/src/pffft.c
@@ -100,9 +100,12 @@
    Altivec support macros 
 */
 #if !defined(PFFFT_SIMD_DISABLE) && (defined(__ppc__) || defined(__ppc64__))
-typedef vector float v4sf;
+
+#include <altivec.h>
+
+typedef __vector float v4sf;
 #  define SIMD_SZ 4
-#  define VZERO() ((vector float) vec_splat_u8(0))
+#  define VZERO() ((__vector float) vec_splat_u8(0))
 #  define VMUL(a,b) vec_madd(a,b, VZERO())
 #  define VADD(a,b) vec_add(a,b)
 #  define VMADD(a,b,c) vec_madd(a,b,c)
@@ -111,8 +114,8 @@ inline v4sf ld_ps1(const float *p) { v4sf v=vec_lde(0,p); return vec_splat(vec_p
 #  define LD_PS1(p) ld_ps1(&p)
 #  define INTERLEAVE2(in1, in2, out1, out2) { v4sf tmp__ = vec_mergeh(in1, in2); out2 = vec_mergel(in1, in2); out1 = tmp__; }
 #  define UNINTERLEAVE2(in1, in2, out1, out2) {                           \
-    vector unsigned char vperm1 =  (vector unsigned char)(0,1,2,3,8,9,10,11,16,17,18,19,24,25,26,27); \
-    vector unsigned char vperm2 =  (vector unsigned char)(4,5,6,7,12,13,14,15,20,21,22,23,28,29,30,31); \
+    __vector unsigned char vperm1 =  (__vector unsigned char)(0,1,2,3,8,9,10,11,16,17,18,19,24,25,26,27); \
+    __vector unsigned char vperm2 =  (__vector unsigned char)(4,5,6,7,12,13,14,15,20,21,22,23,28,29,30,31); \
     v4sf tmp__ = vec_perm(in1, in2, vperm1); out2 = vec_perm(in1, in2, vperm2); out1 = tmp__; \
   }
 #  define VTRANSPOSE4(x0,x1,x2,x3) {              \
@@ -125,7 +128,7 @@ inline v4sf ld_ps1(const float *p) { v4sf v=vec_lde(0,p); return vec_splat(vec_p
     x2 = vec_mergeh(y1, y3);                    \
     x3 = vec_mergel(y1, y3);                    \
   }
-#  define VSWAPHL(a,b) vec_perm(a,b, (vector unsigned char)(16,17,18,19,20,21,22,23,8,9,10,11,12,13,14,15))
+#  define VSWAPHL(a,b) vec_perm(a,b, (__vector unsigned char)(16,17,18,19,20,21,22,23,8,9,10,11,12,13,14,15))
 #  define VALIGNED(ptr) ((((uintptr_t)(ptr)) & 0xF) == 0)
 
 /*
